Adwaita: more drag hilight fixes
authorLapo Calamandrei <calamandrei@gmail.com>
Mon, 14 Mar 2016 18:19:43 +0000 (19:19 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Mon, 14 Mar 2016 18:20:15 +0000 (19:20 +0100)
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css

index 5c521dfc7f1970f650255ed88a82f82a360cce6d..4fd6dd1ab905e13e31e77748c778bdd39cfbdaab 100644 (file)
@@ -189,11 +189,12 @@ textview { // This will get overridden by .view, needed by gedit line numbers
 
   &:backdrop { background-color: mix($backdrop_bg_color, $backdrop_base_color, 50%); }
 
-  &:drop(active) {
-    &, & > text { box-shadow: none; }
+  // &:drop(active) {
+  //   &, & > text { box-shadow: none; }
+  //
+  //   > text { background-color: transparentize($drop_target_color, 0.9); }
+  // }
 
-    > text { background-color: transparentize($drop_target_color, 0.9); }
-  }
 }
 
 %osd, .osd {
@@ -4159,8 +4160,8 @@ button.circular { // FIXME: aggregate to buttons
 
 *:drop(active):focus,
 *:drop(active) { // FIXME needs to be done widget by widget, this wildcard should really die
-  border-color: black;
-  box-shadow: inset 0 0 0 1px black;
+  border-color: $drop_target_color;
+  box-shadow: inset 0 0 0 1px $drop_target_color;
 }
 
 stackswitcher button.text-button { min-width: 100px; } // FIXME aggregate with buttons
index 1b8c765de12c7e56d1359b32ae1b37d109f2f193..b80b3707b476257e660396c31c4f3732832a34be 100644 (file)
@@ -119,10 +119,6 @@ textview {
   background-color: #313434; }
   textview:backdrop {
     background-color: #333636; }
-  textview:drop(active), textview:drop(active) > text {
-    box-shadow: none; }
-  textview:drop(active) > text {
-    background-color: rgba(78, 154, 6, 0.1); }
 
 popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
 .app-notification.frame, .osd .scale-popup, .osd {
@@ -4159,8 +4155,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border-color: black;
-  box-shadow: inset 0 0 0 1px black; }
+  border-color: #4e9a06;
+  box-shadow: inset 0 0 0 1px #4e9a06; }
 
 stackswitcher button.text-button {
   min-width: 100px; }
index 006cf088fa79c610037ed52b5a04105cfa503134..7a152a277ec77ca5191d226f1b451ea29f06e82a 100644 (file)
@@ -119,10 +119,6 @@ textview {
   background-color: #f4f4f3; }
   textview:backdrop {
     background-color: #f4f4f3; }
-  textview:drop(active), textview:drop(active) > text {
-    box-shadow: none; }
-  textview:drop(active) > text {
-    background-color: rgba(78, 154, 6, 0.1); }
 
 popover.background.touch-selection, popover.background.magnifier, .csd popover.background.touch-selection, .csd popover.background.magnifier, popover.background.osd, .csd popover.background.osd, .app-notification,
 .app-notification.frame, .osd .scale-popup, .osd {
@@ -4193,8 +4189,8 @@ button.circular {
 
 *:drop(active):focus,
 *:drop(active) {
-  border-color: black;
-  box-shadow: inset 0 0 0 1px black; }
+  border-color: #4e9a06;
+  box-shadow: inset 0 0 0 1px #4e9a06; }
 
 stackswitcher button.text-button {
   min-width: 100px; }